createTeam
Sets properties on the team model then persists it to the server. Once the "save" request resolves a new Team instance is created and assigned to team.
viewmodel.createTeam(ev)
Sets properties on the team model then persists it to the server. Once the "save" request resolves a new Team instance is created and assigned to team.
Parameters
-
ev
{Event}
OptionalA DOM Level 2 event that
preventDefault
will be called on.